package com.leeoohoo.service;

import com.leeoohoo.dto.MyUserDetails;
import org.springframework.security.core.userdetails.ReactiveUserDetailsService;
import reactor.core.publisher.Mono;

public interface UserService extends ReactiveUserDetailsService {
    void saveCacheUser(MyUserDetails user, String token, Long expired);


    Mono<MyUserDetails> findByToken(String token, Long expired);
}
